|
![](/i/fill.gif) |
I'am referring to the vectors used by the do_diffuse and do_specular
void do_diffuse (FINISH *Finish, RAY *Light_Source_Ray,VECTOR Layer_Normal,
COLOUR Colour, COLOUR Light_Colour, COLOUR Layer_Pigment_Colour, DBL
Attenuation);
void do_specular (FINISH *Finish, RAY *Light_Source_Ray, VECTOR REye, VECTOR
Layer_Normal, COLOUR Colour, COLOUR Light_Colour, COLOUR
Layer_Pigment_Colour);
And what about REye is it the vector opposite to Eye (from current surface
point of view) ?
Are they all normalized ? (in fact it will be a great advantage for thing I
am going to do :o))
Thanks for all.
Mathieu
Post a reply to this message
|
![](/i/fill.gif) |